<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="./css/index.css"/>
	<style>
		/*清除浮动*/
		.exhibition:before,
		.exhibition:after {
			content: "";
			display: table;
		}

		.exhibition:after {
			clear: both;
		}
		/*清除浮动*/

		.navigation {
			margin: 10px 20px;
		}

	</style>
    <title>首页</title>
	<script src="js/jquery-3.2.1.min.js"></script>
	<script src="js/common.js"></script>
	<script src="js/index.js"></script>
	<script src="js/loginOut.js"></script>
	<script>
		$(function (){
			$.get(
					"loginServlet/loginStatus",
					function (data) {
						console.log(data);
						if (data == null || data == ""){
							$(".exit").hide();
						}else {
							$('a[href="login.html"]').hide();
						}
					}
			);
		})
	</script>
</head>
<body>
	<header>
		<div class="lf">
			<a class="home" href="index.html">系统首页</a>
			<!-- <a href="bbs.html">论坛</a> -->
			<a href="upload.html">上传资源</a>
		</div>
		<div id="search">
			<input type="text" name="name" 
				placeholder="请输入要搜索的资源" autocomplete="off"/>
			<a class="btn search">搜索</a>
		</div>
		
		<div class="rf">
			
			<a href="login.html">登录/注册</a>
			<!-- <a class="email-info"><b>99</b></a> -->
			<a class="info" href="personal.html">个人中心</a>
			<a class="cols" href="shoucang.html">收藏</a>
			<a class="exit">退出登录</a>
			<a class="active" href="">中文</a>
			<a href="">Eng</a>
		</div>
	</header>
	<article>
		<!-- 网站主体 -->
		<div id="main">
			<!-- 定义左侧窗口信息 -->
			<section class="ct">
				<div class="navigation">全部</div>
				<!-- 定义资源类型导航 -->
				<ul class="res-nav clearfix">
					<li class="active"><a href="#0" class="at-present title-keyword">全部</a></li>
				</ul>
				
				<!-- 定义每一个资源 -->
				<div class="exhibition">

				</div>
				
				
				
				<!-- 清除浮动 -->
				<div class="clearfix"></div>
				
				<!-- 分页 -->
				<div class="pagination">
					<a class="left page-turning" mydata="上一页"></a>
					<a class="act pages">1</a>
					<a class="pages">2</a>
					<a class="pages">3</a>
					<a class="pages">4</a>
					<a class="pages">5</a>
					<a class="right page-turning" mydata="下一页"></a>
					<select class="selectPage">

					</select>
				</div>
				
			</section>
			
			
		</div>
	</article>
	
	<footer>
		<p class="decro">本站所有资源信息均由网友上传,本站只是为了推广资源让更多读者下载,使用。如涉侵权，请联系管理员</p>
		<p class="cr">Copyright © 2021-2025 <span class="site">爱下载资源分享平台</span> All Rights Reserved.</p>
		<p class="num">沪ICP备14048333号</p>
	</footer>
	
</body>

</html>